package server;

import java.math.BigInteger;
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface PowerService extends Remote {
	// Calculate the square of a number
	public BigInteger square(int number) throws RemoteException;

	// Calculate the power of a number
	public BigInteger power(int num1, int num2) throws RemoteException;
}
